-- GENERATED SPELL FOR [Void Beast] --


function spell0_33806(pUnit, Event) --@Shadow Nova,Self--
pUnit:FullCastSpellOnTarget(63723,pUnit)
pUnit:RegisterEvent('Sorts_33806', 684, 1)
end

function Sorts_33806(pUnit, Event)
local choix_sorts_33806 = math.random(0, 0)
if choix_sorts_33806 == 0 then
pUnit:RegisterEvent('spell0_33806', 1, 1)
end
end

function mob33806_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33806', math.random(1500, 3000), 1)
end

function mob33806_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33806_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33806_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33806, 1, 'mob33806_Action')
RegisterUnitEvent(33806, 2, 'mob33806_Leave')
RegisterUnitEvent(33806, 3, 'mob33806_Kill')
RegisterUnitEvent(33806, 4, 'mob33806_Die')
